package com.huawei.cloud.phone.management.common;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class GlobalConfig {
    @Value("${phone.manager.auth}")
    private String ak;

    @Value("${phone.manager.secret}")
    private String sk;

    @Value("${phone.manager.region}")
    private String region;

    @Value("${phone.background.timeout}")
    private Integer backgroundTimeout;

    @Value("${phone.available.playTime}")
    private Integer availablePlayTime;

    @Value("${phone.touch.timeout}")
    private Integer touchTimeout;

    @Value("${phone.app.server.key:cph_app_server}")
    private String appServerKey;

    @Value("${phone.h5.server.key:cph_h5_server}")
    private String h5ServerKey;

    @Value("${phone.pkg.obs.bucket}")
    private String bucketName;

}
